package calao.client;

import java.util.HashMap;

import com.google.gwt.user.client.rpc.IsSerializable; 

public class WorkspaceInfo 
implements IsSerializable 
{

	int id;
	int pid;
	String path;
	
	/**
	 * @gwt.typeArgs <java.lang.String,java.lang.String>
	 */
	HashMap properties;
		
	public WorkspaceInfo() { }
	
	public WorkspaceInfo(int id, int pid, String path)
	{
		this.id = id;
		this.pid = pid;
		this.path = path;
	}
	
	/** Gets the name of this workspace.
	 */
	public String getPath()
	{
		return path;
	}
	
	/** Gets the properties of this workspace.
	 */
	public HashMap getProperties()
	{
		return properties;
	}
	
	/** Sets properties.
	 */
	public void setProperties(HashMap properties)
	{
		this.properties = properties;
	}
	
	public int getParentId()
	{
		return pid;
	}
	
}
